.TH E1432_SRC_GET_REV 3 E1432
.SH NAME
.nf
e1432_src_get_rev \- Get revision information for source board hardware
                     and rom
e1432_src_get_fwrev \- Get revision information for file containing
                       source board rom binary
.fi
.IX e1432_src_get_rev(3) 3
.IX e1432_src_get_fwrev(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_src_get_rev(E1432ID hw,SHORTSIZ16 src_chan,
                 LONGSIZ32 *romid, LONGSIZ32 *romdate, LONGSIZ32 *bdid,
                 char *bddate)
SHORTSIZ16 e1432_src_get_fwrev(LONGSIZ32 *dptr, LONGSIZ32 *fwid,
                               LONGSIZ32 *fwdate, LONGSIZ32 numwords)

.cE
.SH DESCRIPTION
\fIe1432_src_get_rev\fR returns revision information for source board
hardware and rom, of a single channel \fIsrc_chan\fR,
into memory locations pointed to by \fIromid\fR,\fIromdate\fR,\fIbdid\fR and \fIbddate\fR.

\fIe1432_src_get_fwrev\fR returns revision information for source board
firmware file loaded into an array, pointed to by \fIdptr\fR, of size
\fInumwords\fR, into memory locations pointed to by \fIfwid\fR and \fIfwdate\fR.

\fIromid\fR (or \fIfwid\fR) is the revision id of firmware in the rom (or rom file) (one word).

\fIromdate\fR (or \fIfwdate\fR) is the revision date of firmware in the rom
(or file), when displayed as hex (one word, yyyymmdd).

\fIbdid\fR is the revision id of the source board hardware (one word).

\fIbddate\fR is the revision date of the source board hardware (12 ascii
characters).

\fIsrc_chan\fR is the ID of a single channel.

\fIdptr\fR points to the location the binary rom file is stored in memory.

\fInumwords\fR is the size of the file in 4 byte words.

.SH "RETURN VALUE"
Return 0 if successful, a (negative) error number otherwise.
.SH "SEE ALSO"
.na
e1432_src_prog_romimage(3), srcutil(1)
.ad
